#region Using

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;

using Gizmox.WebGUI.Common;
using Gizmox.WebGUI.Forms;

#endregion

namespace SFE.Categories.DataControls
{
    [Serializable]
    public partial class ListViewControlPanel : UserControl
    {
        public ListViewControlPanel()
        {
            InitializeComponent();
        }


        public string Subject
        {
            get
            {
                return textBoxSubject.Text;
            }
            set
            {
                textBoxSubject.Text = value;
            }
        }

        public string From
        {
            get
            {
                return textBoxFrom.Text;
            }
            set
            {
                textBoxFrom.Text = value;
            }
        }

        public string MailSize
        {
            get
            {
                return textBoxSize.Text;
            }
            set
            {
                textBoxSize.Text = value;
            }
        }

        public bool Attachemnts
        {
            get
            {
                return checkBoxAttachments.Checked;
            }
            set
            {
                checkBoxAttachments.Checked = value;
            }
        }

        public bool Important
        {
            get
            {
                return checkBoxImportant.Checked;
            }
            set
            {
                checkBoxImportant.Checked = value;
            }
        }

        public bool Read
        {
            get
            {
                return checkBoxRead.Checked;
            }
            set
            {
                checkBoxRead.Checked = value;
            }
        }
    }
}